<?php
    $attributes = array(
        'style' => 'color: red',
        'font-weight'   =>  'bold'
    );
    //SĐT giao vé
    echo form_label($this->lang->line('phone'), 'ticket_phone',$attributes);
    echo form_input(array('name' => 'ticket_phone', 'id' => 'ticket_phone', 'value' => $phone));
    echo form_error('ticket_phone');
    // Địa chỉ giao vé
    echo form_label($this->lang->line('address'), 'ticket_address',$attributes);
    echo form_input(array('name' => 'ticket_address', 'id' => 'ticket_address', 'value' => ($address)?$address:''));
    echo form_error('ticket_address');
    // Tỉnh thành
    echo form_label($this->lang->line('province'), 'ticket_province',$attributes);
    echo form_dropdown('ticket_province', $this->booking_model->getListProvince(), ($province)?$province:'','id="ticket_province"');
    echo form_error('ticket_province');
    // Ghi chú
    echo form_label($this->lang->line('ticket_note'), 'ticket_note',$attributes);
    echo form_textarea(array('name' => 'ticket_note', 'id' => 'ticket_note', 'value' => '','rows'=>'5'));
    echo form_error('ticket_note');
    
    echo '<input type="hidden" name="ticket" value="ticket" id="ticket">';